<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<html:html xhtml="true">
<head>
<title><bean:message key="gestioncompte.jsp.title"/></title>
<html:base/>
</head>
<body bgcolor="rgb(247,150,70)">
<%--include page breacr --%>
<h4><bean:message key="gestioncompte.jsp.page.heading"/></h4>

<div >
<html:form action="/GestionCompte.do" >

<html:hidden property="idUtilisateur" value="${stagiaire.idUtilisateur}" />
	<table>
		<tr>
			<td><bean:message key="standard.label.nom"/></td>
			<td><html:text property="nom" value="${stagiaire.nom}" size="20" maxlength="20"/></td>
			<td><html:errors property="nom"  header="" footer="" prefix="" suffix=""/></td><td></td><td></td>
		</tr>
		
		<tr>
			<td><bean:message key="standard.label.prenom"/></td>
			<td><html:text property="prenom" value="${stagiaire.prenom}" size="20" maxlength="20"/></td>
			<td><html:errors property="prenom"  header="" footer="" prefix="" suffix=""/></td>
			<td></td><td></td>
		</tr>
		<tr>
			<td><bean:message key="standard.label.password"/></td>
			<td><html:password property="password" value="${stagiaire.motdepasse}" size="20" maxlength="20"/></td>
			<td><html:errors property="password"  header="" footer="" prefix="" suffix=""/>
				<html:errors property="passwordconfirm"  header="" footer="" prefix="" suffix=""/></td>
			<td><bean:message key="standard.label.confirmerpassword"/></td>
			<td><html:password property="passwordconfirm" value="${stagiaire.motdepasse}" size="20" maxlength="20"/></td>
		</tr>
		<tr>
			<td><bean:message key="standard.label.societe"/></td>
			<td><html:text property="societe" value="${stagiaire.societe}" size="20" maxlength="20"/></td>
			<td><html:errors property="societe"  header="" footer="" prefix="" suffix=""/></td>
			<td></td><td></td>
		</tr>
		 
	</table>
  	<p>	
        <html:submit property="method"><bean:message key="standard.bouton.annuler"/></html:submit>
  		<html:submit property="method"><bean:message key="standard.bouton.modifier"/></html:submit>
  	   	<html:submit property="method"><bean:message key="standard.bouton.supprimer"/></html:submit>
  	</p>
</html:form>
</div>

<!-- 
<form action="/postGestionCompte">
<html:submit property="method"> <bean:message key="standard.bouton.annuler"/> </html:submit></form>
-->

</body>
</html:html>